package com.example.multiple.properties;

import lombok.Data;
import org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @Author yanggld
 * @Date 2019/9/26-17:15
 * @Description
 */
@RefreshScope
@Data
@Component
@ConfigurationProperties(prefix = "datasource")
public class AllDatasourceProperties {

	private DatasourceProperties[] clients = {};

}
